package model.algorithm;


public class Action {
	private String action;					// Private data members
	private double cost;
	
	public Action(String action) {			// C'tor - gets a string description of the action and sets the string-action data member accordingly
		this.setAction(action);
	}
	
	public double getCost() {				// double action-cost getter
		return this.cost;	
	}

	public void setCost(double cost) {		// double action-cost setter
		this.cost = cost;
		
	}

	public String getAction() {				// String getter
		return action;
	}

	public void setAction(String action) {	// String setter
		this.action = action;
	}
	
	@Override
	public String toString() {				//toString Override  - returns the string data member (action)
		return action;
	}

}
